<template>
    <div>
        姓名:{{ name}}<br>
        年龄:{{ age}}<br>
        简介:{{ show()}}<br>
    </div>
</template>

<script lang='ts' setup>
    import IUserFun from '@/types/IUserFun'
    let name:string='Monica'
    let age:number=36+1
    const show:IUserFun=()=>`我叫${name},今年${age}岁`
</script>

<style lang='scss' scoped>
</style>